-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(bonding_manager): fix validation of epoch when bonding/unbonding #371
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v2_contracts #371 +/- ##
========================================================
+ Coverage 90.90% 90.92% +0.02%
========================================================
Files 280 280
Lines 31830 31917 +87
========================================================
+ Hits 28936 29022 +86
- Misses 2894 2895 +1 ☔ View full report in Codecov by Sentry. |
Schema generation had missing jobs:
Please run |
Schema generation had missing jobs:
Please run |
6577a07
to
8670d58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
Description and Motivation
This PR improves the validation when bonding/unbonding so it makes sure not only that a new epoch has been created but that the system is up to date, i.e. if an epoch is due to be created the contract won't let you bond or unbond.
Related Issues
Checklist:
Update index.md
)cargo fmt --all --
.cargo clippy -- -D warnings
.cargo schema
.